//
//  facePageTableViewCell.m
//  LT
//
//  Created by dllo on 16/5/23.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "facePageTableViewCell.h"

@interface facePageTableViewCell ()

@end


@implementation facePageTableViewCell



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return  self;
}

-(void)createSubViews{
    
    self.nameLabel = [[UILabel alloc]init];
   // self.nameLabel.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.nameLabel];
    
}

-(void)layoutSubviews{
    [super layoutSubviews];
//    self.JinCollectionView.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height - 5);
    
    self.nameLabel.frame = CGRectMake(0* WIDTHCELL, 0* WIDTHCELL, 100* WIDTHCELL, 80* WIDTHCELL);

}


//set方法赋值
-(void)setSecondModel:(secondModel *)secondModel{
    _secondModel = secondModel;
    self.nameLabel.text = secondModel.secondName;


}


- (void)awakeFromNib {
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
